@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,600;1,700&display=swap');  /* Importando tipo de letra */

 /* Creando librerias utiles */
:root{
    --padding-container: 100px 0;
    --color-title: #001A49 ;
}



body {
    font-family: 'Poppins', sans-serif;  /* Aplicando tipo de letra importada */
}

.container{       
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--padding-container);
}

.hero{
    width: 100%;
    height: 450px;  
    
    max-height: 800px;
    position: relative;
    display: grid;
    grid-template-rows: 100px 1fr;
    color: #fff;
    background-attachment: fixed;


    
}

.hero::before{
    content: "" ;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, #0000018c 0%, #0000018c 100% ), url(../images/Fondo-Enfasis1.jpg); 
    background-size: cover ;
    background-position: 50% 60% ;   /* Posicion de la imagen */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    z-index: -1;


}



/* ------------------------------------ Nav ------------------------------------ */

.nav{
    --padding-container:0;
    height: 100%;
    display: flex;
    align-items: center;
    max-width: 100%;
    width: 100%;
    background-color: #1c52b770;
    padding: 0 30px;
    
}


.nav__title{
    font-weight: 300;
    cursor: pointer;



}

.nav__title2{
    font-weight: 300;
    cursor: pointer;
    width: 140px;
    margin-right: 40px;
 
}

.nav__link{
    margin-left: auto;
    padding: 0;
    display: grid;
    grid-auto-flow: column ;
    grid-auto-columns: max-content ;
    gap: 2em;
}

.nav__items{
    list-style:none;
}


.nav__links{
    color: #fff;
    text-decoration: none;
}

.nav__links:hover {
    color: #30e3f0;
    
}


.nav__menu{
    margin-left: auto;
    cursor: pointer;
    display: none;
}

.nav__img{
    display: block;
    width: 30px;
}

.nav__close{
    display: var(--show, none);
}


/* ----------------------------------------------------------------  Hero container  ------------------------------------------ */

.hero__container{
    max-width: 800px;
    --padding-container: 0;
    display: grid;
    grid-auto-rows: max-content;
    align-content: end;
    gap: 1em;
    
    text-align: center;

}

.hero__title{
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.hero__paragraph{
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.cta{
    display: inline-block;
    background: #270A66;
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 32px;
}


/* ----------------------------------------------------------- Contenido ----------------------------------------- */

.text__container{
    margin: 0px;
    background-color: #1e2530;
    color: #fff;
    padding: 15px 60px;
    text-align: center;

}

.intro__paragraph{
    line-height: 1.5;
    font-size: 20px;
}

.subtitle{
    color: var(--color-title);
    font-size: 2rem;
    margin-bottom: 25px;
}

.about__paragraph{
    line-height: 1.7;
}

.negrita{
    font-weight: 600;
    line-height: 1.7;
}

.proyects__title{
    margin-bottom: 20px;
	line-height: 1.5;
    	
}



/* -------------------------------------About ------------------------------------------------------------------------------*/

.enfasis{
    display: grid;
    
    margin: 0 auto;
    background: url("../images/Background1.jpg");
    overflow: hidden;
    gap: 2.6em;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(310px, auto));
    padding: 70px 0;
    
}

.enfasis__card{
    display: grid;
    grid-template-columns: 300px;
    grid-template-rows: 210px 250px 80px;
    grid-template-areas: "image" "text" "data";
    
    margin: 0 auto;
    border-radius: 18px;
    background: white;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.9);
    font-family: roboto;
    text-align: center;
    width: 300px;
    transition: 0.5s ease;
}

.card__image{
    grid-area: image;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    
}

/* ------------------------------------ Cambio de imagenes --------------------------------------------------------------------------*/
.card__image-1{
    background: url("../images/Potencias1.jpg");
    background-size: cover;
}

.card__image-2{
    background: url("../images/Electro4.jpg");
    background-size: cover;
}

.card__image-3{
    background: url("../images/Redes2.jpg");
    background-size: cover;
}

.card__text{
    grid-area: text;
    margin: 25px;
    
}

.card__data{
    grid-area: data;
}

.card__title{
    font-size: 28px;
    margin-bottom: 5px;
    color: rgb(231, 60, 60);
    font-weight: 600;
    margin-top: 0px;
}


.enfasis__card:hover{
    transform: scale(1.2);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.6);
}


/*  ----------------------------------- TCU y Practica laboral ------------------------- */

.TCU{
    background-color: #e5e5f7;
    background-image: radial-gradient(#444cf7 0.5px, #e5e5f7 0.5px);      /* Fondo de puntos */
    background-size: 10px 10px;
    overflow: hidden;
}

.TCU__container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    align-items: center;
}

.TCU__picture{
    max-width: 500px;

}

.TCU__paragraph{
    line-height: 1.7;
    margin-bottom: 15px;
}


.TCU__img{
    width: 100%;
    display: block;
}


.about {
	min-height: 400px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-row-gap: 80px;
	justify-items: center;
	align-items: center;
}

.about__img {
	text-align: center;
}

.about__img--left {
	text-align: left;
}

.about__picture{
	max-width: 75%;
}

.about__paragraph {
	margin-bottom: 20px;
	line-height: 1.5;
	font-weight: 300;
}


/*----------------------------- Footer ------------------------- */

.footer{
    background-color: #1D293f;
    
}


.footer__grid{
	display: grid;
	grid-template-columns: 1fr ;
	
	align-items: center;
    padding-bottom: 30px;
    
}

.nav-2 {
    display: flex; 
    height: 70px;
    align-items: center;
    justify-content: space-around;
  }

.nav--footer{
    background-color: #1d293f;
    
}

.nav__items {
	color: #fff;
	text-decoration: none;
	font-weight: inherit;
}

.nav__items--footer{
    padding: 10px;
    margin-bottom: 15px;
    border: none;
}

.footer__contact{
    grid-column: 1/3;
    grid-row: 1;
    box-sizing: border-box;
    text-align: center;
    margin-bottom: 15px;
}

.footer__title{
    font-weight: 400;
color: #fff;
font-size: 2rem;
margin-bottom: 40px;
text-align: center;
text-decoration: none;
}



.footer__icons{
	display: flex;
	justify-content: space-evenly;
    margin-bottom: 30px;
}

.footer__container-icons {
	display: inline-block;
	width: 60px;
	height: 60px;
	color: #fff;
	text-align: center;
	border: 1px solid #fff;
	border-radius: 50%;
}

.footer__icon {
	color: inherit;
	font-size: 30px;
	text-decoration: none;
	
}

.fab.footer__icon {
	line-height: 60px;
}


.footer__copy{
    text-align: center;
    color: #fff;
    grid-column: 1/3;
    margin-top: 20px;
}

.footer__copyright{
    font-weight: 300;
}

/* ============================================================== Responsive (Media queries) =============================== */


/* ------------ Tabletas --------- */

@media (max-width:811px){

    .nav__title{
        width: 400px;
    }

    .nav__title2{
        
        width: 140px;
    }

    /* ----- Menu de mobile ----- */
    .nav__menu{
        display: block;
    }


    .nav__link--menu{
        position: fixed;
        background-color: #1d293f;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: .7s opacity;
        border: solid white 1px;
    }

    .nav__link--show{
        --show: block;
        opacity: 1;
        pointer-events: unset;
    }

    .nav__close{
        position: absolute;
        top: 30px;
        right: 30px;
        width: 30px;
        cursor: pointer;

    }
    /* ---- Hero - nav ---- */

    .hero__container{
        padding-bottom: 120px;
    }

    .hero__title{
        font-size: 2.5rem;
    }

    /* --------------------- main --------------- */

    .intro__paragraph{
        font-size: 17px;
    }
  


 

	/*---- About---- */

	.presentation__copy {
		width: 100%;
	}
	.presentation__picture {
	width: 150px;
	height: 150px;
}

	.subtitle {
		font-size: 2rem;
	}

	.about{
		grid-template-columns: 1fr;
	}
	.about.container{
		padding-top: 30px;
	}

	.about__img--left {
		text-align: center;
	}

	.about__texts:nth-of-type(2) {     /*---- forma de ordenar en responsive 800px---- */
		grid-row: 3 / 4;
	}




}



@media (max-width:731px){



    .footer__title{
        font-size: 1.6rem;
    }

    .footer__copy{
        font-size: 0.9rem;
    }

   

}



/* --- Tableds pequeñas  --- */
@media (max-width:610px){



    .nav__title{
        width: 290px;
    }

    .hero__title{
        font-size: 2rem;
    }

    .nav__title2{
        width: 120px;
    }

    .hero__paragraph{
        font-size: 1.5rem;
    }

    .subtitle{
        font-size: 1.85rem;
    }

    /* --- footer  --- */

    .nav--footer{
        justify-content: space-evenly;
        flex-wrap: wrap;
    }

    
    .footer__title{
        font-size: 1.4rem;
    }

    .footer__copy{
        font-size: 0.8rem;
    }  


}

/* -------------------------- Celulares ------------------- */

@media (max-width:510px){

    .nav__title{
        width: 240px;
        
    }

    .nav__title2{
        width: 110px;
        margin-right: 23px;
    }

  
}

@media (max-width:440px){

    .nav__title{
        width: 190px;
    }

    .nav__title2{
        width: 90px;
        margin-right: 20px;
    }
     
    .hero__paragraph{
        font-size: 1.4rem;
    }


    .questions__title{
        font-size: 1rem;
    }

    /* --- Footer --*/

    .footer__title{
        font-size: 1.3rem;
    }
    
    .footer__copy{
        font-size: 0.7rem;
    }
    
    .nav--footer{
        margin-bottom: 30px;
    }
}

@media (max-width:365px){

    .nav__title2{
        margin-right: 10px;
    }

    .nav__title{
        width: 175px;
    }
}